package com.charon.module.music.dao;

import java.util.List;
import org.springframework.stereotype.Repository;
import com.charon.module.music.entity.SongCommentEntity;
import com.charon.module.music.entity.SongEntity;

@Repository
public interface SongCommentEntityMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(SongCommentEntity record);

    int insertSelective(SongCommentEntity record);

    SongCommentEntity selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SongCommentEntity record);

    int updateByPrimaryKey(SongCommentEntity record);
    
    List<SongCommentEntity> findSongCommentBySong(SongEntity record);
    
    List<SongCommentEntity> findSongCommentByComment(SongCommentEntity record);
}